#include "Random.h"
#include <Windows.h>

//some code influenced by http://stackoverflow.com/questions/4310277/producing-random-float-from-negative-to-positive-range

int RandomInt(int min, int max)
{
	return rand() % max + min;
}

float RandomFloat(float min, float max)
{
	return ((float(rand()) / float(RAND_MAX)) * (max - min)) + min;
}